//
//  QSShowAlertViewTool.h
//  ZengLongSeSha
//
//  Created by apple on 2017/6/22.
//  Copyright © 2017年 Song. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 *  确定回调的block
 */
typedef void (^SureActionBlock) ();

@interface QSShowAlertViewTool : NSObject
SingleInterface(QSShowAlertViewTool);

/**
 *  最基础的提示框
 *
 *  @param title 标题
 *  @param message 提示内容
 *  @param actionTitle 按钮文字
 */
- (void)showAlertViewWithTitle:(NSString *)title message:(NSString *)message andActionTitle:(NSString *)actionTitle;

/**
 *  带两个按钮的提示框
 *
 *  @param title 标题
 *  @param message 提示内容
 *  @param cancelActionTitle 取消按钮的文字
 *  @param sureActionTitle 确定按钮的文字
 *  @param sureActionBlock 点击确定按钮回调的block
 */
- (void)showAlertViewWithTitle:(NSString *)title message:(NSString *)message cancelActionTitle:(NSString *)cancelActionTitle sureActionTitle:(NSString *)sureActionTitle andSureActionBlock:(void (^ __nullable)())sureActionBlock;
@end
